-
Home
-
Barcode Scanner (+Mobile App) – Inventory manager, Order fulfillment system, POS (Point of Sale)
-
1.3.2
-
Code
-
Classes
- CartActions
Total Complexity |
259 |
Dependencies |
8 |
Dependents |
3 |
Total lines |
968 |
Lines of code |
733 |
Logical lines of code |
460 |
Comment lines |
0 |
Methods |
23 |
Properties |
4 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
orderCreate() |
D |
21 |
58 |
153 |
findProductInCart() |
C |
45 |
26 |
37 |
updateQuantity() |
C |
37 |
24 |
64 |
addItemToCart() |
B |
40 |
24 |
55 |
addItem() |
B |
38 |
18 |
58 |
itemSetPrice() |
A |
49 |
15 |
27 |
restoreCart() |
A |
48 |
12 |
29 |
wcSession() |
A |
46 |
11 |
35 |
cartRecalculate() |
A |
39 |
8 |
63 |
initFieldPrice() |
A |
57 |
9 |
14 |
updateAttributes() |
A |
49 |
8 |
28 |
getWcCheckoutErrors() |
A |
56 |
8 |
18 |
setOrderTotal() |
A |
57 |
8 |
17 |
changeQuantityInCart() |
S |
54 |
7 |
20 |
formatPriceForUpdate() |
S |
57 |
5 |
18 |
getWcErrors() |
S |
61 |
5 |
12 |
getShippingMethod() |
S |
62 |
4 |
11 |
removeItem() |
S |
56 |
2 |
18 |
getCartDetails() |
S |
54 |
1 |
21 |
conditionally_send_wc_email() |
S |
66 |
2 |
9 |
getCartItems() |
S |
63 |
2 |
10 |
cartClear() |
S |
66 |
1 |
9 |
getStatuses() |
S |
69 |
1 |
7 |